#= require jquery/jquery
#= require jquery/jquery.event.drag-2.0.min
#= require jquery/jquery.event.drop-2.0.min
#= require underscore
#= require skein
#= require meow
#= require bootstrap/bootstrap-modal
#= require bootstrap/bootstrap-button
#= require bootstrap/bootstrap-dropdown
#= require tagcanvas
#= require powergrid/powergrid
#= require common

window.rand = (to, from=0) ->
  to -= from
  from + Math.floor(Math.random() * to)
